﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameView.Comment
{
    public interface INotificationService
    {
        void Show(string message, NotificationType type = NotificationType.Information);
        void Show(string message, string actionText, Action action, NotificationType type = NotificationType.Information);
        void Show(NotificationMessage message);

        // 快捷方法
        void ShowSuccess(string message);
        void ShowError(string message);
        void ShowWarning(string message);
        void ShowInfo(string message);

        // 带操作的快捷方法
        void ShowSuccess(string message, string actionText, Action action);
        void ShowError(string message, string actionText, Action action);
    }
}
